package com.gzhryc.net_marketing.core.models;

import com.gzhryc.common.NumberTools;

import java.io.Serializable;
import java.util.List;

public class GoodsItem implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String name;
    private String thumbnailImg;
    private String imgs;
    private String detailImgs;
    private String labels;
    private Integer classify;
    private String classifyName;
    private String typeCodes;
    private String typeNames;
    private Long supplierId;
    private String supplierName;
    private Integer payMoney;

    private List<GoodsSpaceItem> spaceItemList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getThumbnailImg() {
        return thumbnailImg;
    }

    public void setThumbnailImg(String thumbnailImg) {
        this.thumbnailImg = thumbnailImg;
    }

    public Integer getClassify() {
        return classify;
    }

    public void setClassify(Integer classify) {
        this.classify = classify;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getTypeCodes() {
        return typeCodes;
    }

    public void setTypeCodes(String typeCodes) {
        this.typeCodes = typeCodes;
    }

    public String getTypeNames() {
        return typeNames;
    }

    public void setTypeNames(String typeNames) {
        this.typeNames = typeNames;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public String getDetailImgs() {
        return detailImgs;
    }

    public void setDetailImgs(String detailImgs) {
        this.detailImgs = detailImgs;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    public List<GoodsSpaceItem> getSpaceItemList() {
        return spaceItemList;
    }

    public void setSpaceItemList(List<GoodsSpaceItem> spaceItemList) {
        this.spaceItemList = spaceItemList;
    }

    public String getPayMoneyStr(){
        return NumberTools.getMoneyStr(this.payMoney);
    }
}

